package com.iqiyi.mapper;

import com.iqiyi.dto.*;
import com.iqiyi.po.Sort;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SearchMapper {
    List<ActorList> findActorList(String aname);
    List<VideoList> findVideoList(String vname);
    List<JuJiNumber> findNums(String vname);
    List<VideoName> findVideoName(String vname);
    List<ActorPic> findActorPic(String aname);
    int updateVideo(VideoList videoList);
    Sort findSort(String sname);
    int updateVideoAndSort(@Param("vid") Integer vid, @Param("sid") Integer sid);
}
